/*
 * Copyright (C) 2011  John Lawrence thegordo.john at gmail.com
 * Licensed under GPLv3 or later. see http://www.gnu.org/copyleft/gpl.html
 */

package org.jklawrencefam;

import org.jklawrencefam.Util.LogFactory;
import org.jklawrencefam.server.MultiClientServer;
import org.jklawrencefam.server.smtp.SmtpServer;

import java.util.logging.Level;

/**
 * User: John Lawrence
 * Date: 5/17/11
 * Time: 9:00 PM
 */
public class Main {
    public static void main(String[] args) {
        LogFactory.setLevel(Level.FINEST);
        // Ignore the arguments - we will use a properties file for that stuff.
        MultiClientServer multiClientServer = new MultiClientServer(new SmtpServer());
        multiClientServer.start();
        LogFactory.getLogger(Main.class).info("Started SMTP server!");
    }
}
